<template>
  <div>登录页
    <button @click="fn">点击登录</button>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },

  components: {},

  computed: {},

  mounted() {},

  methods: {
    fn() {
      localStorage.setItem("token", 23455);
      this.$router.replace('/home/mine');
    }
  }
};
</script>

<style lang="less" scoped></style>
